package com.education.basic.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.education.basic.entity.FeeInfo;
import com.yunshangwoniu.core.baseService.BaseService;
import com.yunshangwoniu.core.page.Page;

public interface FeeInfoService extends BaseService<FeeInfo> 
{
	/**
	 * 缴费
	 * @param stuNo
	 * @return
	 */
	boolean pay(String stuNo);
	/**
	 * 通过学生姓名查询缴费信息
	 * @param name
	 * @return
	 */
	FeeInfo findFeeInfoByStudentName(String name);
	/**
	 * 通过学生学号查询一条缴费信息
	 * @param name
	 * @return
	 */
	FeeInfo findFeeInfoByStuNum(String stuNum);
	
	/**
	 * 缴费信息列表
	 * @param coursesCode
	 * @return
	 */
	Page<FeeInfo> queryFeeInfo(Map<String,Object> params,int currentPageNum,int pageSize,HttpServletRequest request);
}
